import { compress } from "./pictureCompress.js";
export function pictureChoose() {
    return new Promise((resolve) => {
        wx.chooseImage({
            count: 1,
            sizeType: "original",
            sourceType: "album",
            success({ tempFilePaths }) {
                resolve(compress(tempFilePaths[0]));
            },
        });
    });
}
